package com.maiji.cloud.request.shopingmall;


import com.maiji.cloud.utils.FlowTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
@Accessors(chain=true)
public class DistributeIntegralReqDto {

    @ApiModelProperty(value="积分数据")
    private DistributeIntegralReqData data;
    
    public DistributeIntegralReqData dataInstance () {
        return new DistributeIntegralReqData();
    }
    @NoArgsConstructor
    @Data
    @Accessors(chain=true)
    public class DistributeIntegralReqData {

        @ApiModelProperty(value="分发积分分值")
        private Integer integral;

        @ApiModelProperty(value="分发类型值：FlowTypeEnum")
        private FlowTypeEnum remark;

        @ApiModelProperty(value="分发行为记录相关ID：例-签到记录ID")
        private String relevantId;

    }

}
